package com.hh.entity.vo;

import com.hh.entity.Teacher;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 教师登录VO
 *
 * @author huxy
 * @since 2022-10-15 16:58:43
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TeacherLoginVO extends Teacher {
    public TeacherLoginVO copyteacher(Teacher teacher){
        TeacherLoginVO teacherdto = new TeacherLoginVO();
        teacherdto.setCollegeId(teacher.getCollegeId());
        teacherdto.setLoginId(teacher.getLoginId());
        teacherdto.setTeacherId(teacher.getTeacherId());
        teacherdto.setTeacherName(teacher.getTeacherName());
        teacherdto.setTPhone(teacher.getTPhone());
        return teacherdto;
    }
    private String fcode;
}

